package com.good.msgsys.entity.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author junlong
 * @date 2021/1/5 17:36
 */
@ApiModel("登录成功返回token")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginRes {
    @ApiModelProperty("用户id")
    private String id;
    @ApiModelProperty("用户姓名")
    private String name;
    @ApiModelProperty("token")
    private String token;
}
